#include"string.h"
using namespace std;
void test01() {
	wz::string s1;
	cout << s1.c_str() << endl;
	wz::string s2("hello world");
	cout << s2.c_str() << endl;
	s1 = s2;
	cout << s1.c_str() << endl;
}
void test02() {
	wz::string s1;
	s1.push_back('c');
	cout << s1.c_str() << endl;
}
void test03() {
	wz::string s1("hello world");
	s1 += 'c';
	cout << s1.c_str() << endl;
	s1 += "hello";
	cout << s1.c_str() << endl;

}
void test04() {
	wz::string s1("hello world");
	s1.insert(10, 'x');
	cout << s1.c_str() << endl;
	wz::string s2("hello world");
	s2.insert(1, "xxx");
	cout << s2.c_str() << endl;
}
void test05() {
	wz::string s1("hello world");
	s1.erase(1,2);
	cout << s1.c_str() << endl;
}
void test06() {
	wz::string s1("hello world");
	cin >> s1;
	cout << s1 << endl;
}
int main() {
	//test01();
	//test02();
	//test03();
	//test04();
	//test05();
	test06();
	return 0;
}